package com.xjtu.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * 老人的基本信息表(Elderly)实体类
 *
 * @author makejava
 * @since 2023-11-12 14:25:06
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Elderly implements Serializable {
    private static final long serialVersionUID = -45423463527295790L;
    
    private Integer id;
    /**
     * 老人的名字
     */
    private String name;
    /**
     * 在医院吗（0不在，1在）
     */
    private Integer status;
    /**
     * 老人的手机号码
     */
    private String phone;
    /**
     * 记录添加时间
     */
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

}

